package com.yykj.base.server.model.repository.form.template;

import com.yykj.base.server.model.entity.form.template.CommonFormField;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommonFormFieldRepository extends JpaRepository<CommonFormField,Integer> {
    CommonFormField findFirstByName(String name);

    List<CommonFormField> findAllByNameIn(List<String> nameList);
}
